package com.wang.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

@ApiModel(value = "用户注册对象", description = "用户注册请求对象")
@Data
public class UserRegisterRequest {

    @ApiModelProperty (value = "昵称", example = "王佑磊")
    private String name;

    @ApiModelProperty (value = "1表示男，0表示女", example = "1")
    private Integer sex;

    @ApiModelProperty (value = "密码", example = "123456")
    private String pwd;

    @ApiModelProperty (value = "邮箱", example = "2531215075@qq.com")
    private String mail;

    @ApiModelProperty (value = "邮箱验证码", example = "573318")
    private String code;

    @ApiModelProperty (value = "头像", example = "http://192.168.236.140:9000/xdclass/user/2025/05/05/c0382e640ac94025b43f09ee6b6c22c2.jpg")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty (value = "个性签名", example = "落日孤城闭，决战长安京")
    private String slogan;

}
